<template>
	<view class="mymap">
		<web-view :src="myurl"></web-view>
		 
		<!-- 引入需要嵌入的h5 链接 -->
		<!-- <web-view @message="message" src="http://192.168.2.23:8080"></web-view> -->
		
		<!-- //在methods中接收h5发送的消息/*** @information message中 接收到的是由h5项目通过uni.postMessage中传递出来的数据，以数组的形式接收每次的消息*/message(event){console.log('接收到消息'，event.detail.data)} -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
			myurl:'',
			}
		},
		
		  onLoad (options) {
			let myuserId = JSON.parse(uni.getStorageSync('userInfo')).id||'';
			console.log(myuserId, 'this.tabId');
			  let authorization =uni.getStorageSync('access_token') || '';
			  		
				//this.myurl = 'https://i.ringzle.com/h5/#/customtour?id='+options.id;
					this.myurl = 'https://i.ringzle.com/h5/#/myfootmark?myuserId='+myuserId+'&authorization='+authorization;
				
				  console.log('111111111111111111',this.myurl)
		    //  this.token = options.myargument
		    },
		methods: {
			
		}
	}
</script>

<style>
 /* #ifdef H5 */
 /* 页面A */
 uni-page[data-page="pages/touristMap/index"] .uni-page-head-hd {
	display: none;
 }
 /* #endif */
/* #ifdef H5 */ 
    uni-page-head { 
        display: none; 
    } 
/* #endif */

.mymap{
	width: 100%;
	 height:calc(100vh - 45px);
}
</style>
